/**
 * Created by Administrator on 2017/7/10.
 */
module.exports = {
    routeName:{
        api:'接口',
        company:'公司',
        component:'零件',
        dict:'字典(标签)',
        project:'项目',
        projectworkflow:'项目工作流',
        purchasepart:'采购件',
        res:'资源',
        role:'企业角色',
        template:'模板',
        templatenode:'模板节点',
        file:'文件管理',
        user:'用户'
    },
    apiName:{
      "post#/user/wxlogin":"用户微信登录",
      "post#/user/smslogin":"用户手机验证码登录",
      "get#/user/logout":"用户退出",
      "post#/user/login":"用户登录",
      "post#/user/authCode":"获取验证码",
      "get#/user/:id":"根据用户id获取用户",
      "delete#/user/:id":"根据用户id删除用户",
      "put#/user":"修改用户信息",
      "post#/user":"新增用户",
      "get#/user":"获取用户",
      "get#/templatenode/lastnode":"根据模板id来获取当前模板的最后节点",
      "get#/templatenode/firstnode":"根据模板id来获取当前模板的开始的节点",
      "delete#/templatenode/:id":"删除模板节点",
      "put#/templatenode":"修改模板节点",
      "post#/templatenode":"新增模板节点",
      "get#/templatenode":"获取模板节点",
      "delete#/template/:id":"删除模板",
      "put#/template":"修改模板",
      "post#/template":"新增模板",
      "get#/template":"获取模板",
      "get#/role/refresh":"刷新redis中的信息",
      "delete#/role/:id":"删除角色",
      "put#/role":"修改角色",
      "post#/role":"新增角色",
      "get#/role":"获取角色",
      "get#/res/:id/content":"查看文件",
      "get#/res/:id":"获取单个文件",
      "delete#/res/:id":"删除文件",
      "put#/res":"修改文件",
      "post#/res":"新增文件",
      "get#/res":"获取文件列表",
      "delete#/purchasepart/:id":"删除采购件",
      "put#/purchasepart":"修改采购件",
      "post#/purchasepart":"新增采购件",
      "get#/purchasepart":"获取采购件",
      "delete#/projectworkflow/:id":"删除项目工作流",
      "put#/projectworkflow":"修改项目工作流",
      "post#/projectworkflow":"新增项目工作流",
      "get#/projectworkflow":"获取项目工作流",
      "delete#/project/:id":"删除项目",
      "put#/project":"修改项目",
      "post#/project":"新增项目",
      "get#/project":"获取项目",
      "delete#/dict/:id":"删除字典",
      "put#/dict":"修改字典",
      "post#/dict":"新增字典",
      "get#/dict":"获取字典",
      "delete#/component/:id":"删除零件",
      "put#/component":"修改零件",
      "post#/component":"新增零件",
      "get#/component":"获取零件",
        "post#/component/rawmaterial/remain":"设置零件物料剩余数量",
        "post#/component/rawmaterial/samples":"增加零件物料交样记录",
        "post#/component/rawmaterial/delivery":"增加零件物料发货记录",
        "put#/component/rawmaterial/samples":"回填零件物料交样记录",
        "put#/component/rawmaterial/delivery":"回填零件物料发货记录",
        "get#/component/rawmaterial/samples":"获取零件物料交样记录",
        "get#/component/rawmaterial/delivery":"获取零件物料发货记录",
      "delete#/company/:id":"删除公司",
      "put#/company":"修改公司",
      "post#/company":"新增公司",
      "get#/company":"获取公司",
        "put#/company/partner":"修改合作商",
      "get#/api/tree":"获取api树",
      "get#/api/help":"获得api信息的帮助文档",
      "delete#/api/:id":"删除api",
      "put#/api":"修改api表",
      "get#/api":"获取api",
        "post#/project/next":"项目流程流转",
        "post#/project/check":"项目流程节点审核",
        "post#/project/uploadfile":"项目流程节点上传文件",
        "get#/user/getUserWithDescription":"获取带中文描述的用户信息",
        "get#/role/getRoleWithDescription":"获取带中文描述的角色信息",
        "get#/component/tree":"获取树状结构的零件",
        "post#/component/addtobom":"在bom中添加零件",
        "get#/company/getCompanyWithDescription":"获取带中文描述的公司信息",
        "get#/dict/tree":"获取树状结构的字典",
        "get#/dict/pname":"根据父节点名称查出子节点信息",
        "get#/file":"获取文件信息",
        "post#/file":"上传文件",
        "delete#/file/:id":"根据id删除文件",
        "get#/menu":"获取菜单",
        "get#/menu/tree":"获取树状菜单",
        "delete#/menu/:id":"根据id删除菜单",
        "put#/menu":"修改菜单",
        "post#/menu":"新增菜单",
        "get#/sysconfig":"获取系统配置",
        "post#/sysconfig":"新增系统配置",
        "put#/sysconfig":"修改系统配置",
        "delete#/sysconfig/:id":"删除系统配置",
        "delete#/tooling/:id":"删除工装",
        "put#/tooling":"修改工装",
        "post#/tooling":"新增工装",
        "get#/tooling":"获取工装",
        "post#/tooling/next":"工装流程流转",
        "post#/tooling/audit":"工装流程审核",
        "post#/tooling/check":"工装流程检查",
        "post#/tooling/uploadfile":"工装流程节点上传文件",
        "get#/tooling/component":"根据零件分组的工装流程列表",
        "post#/tooling/designchange":"工装流程设变",
        "post#/tooling/modifydate":"修改单个节点计划日期",
        "post#/tooling/setdate":"设置节点计划日期",
        "get#/tooling/:id":"获取单个工装流程信息",
        "put#/tooling/contract":"工装关联合同",
        "post#/user/:id/changepwd":"重置用户密码",
        "put#/user/pwd":"修改用户自己的密码",
        "delete#/toolingworkflow/:id":"删除工装流程",
        "get#/toolingworkflow":"获取工装流程列表",
        "get#/tooling/calendar":"获取工装日历",
        "post#/res/static":"上传文件到静态目录",
        "post#/res/qiniu":"上传文件到七牛云",
        "delete#/rawmaterial/:id":"删除试模材料",
        "put#/rawmaterial":"修改试模材料",
        "post#/rawmaterial":"新增试模材料",
        "get#/rawmaterial":"获取试模材料列表",
        "post#/project/setdate":"设置项目节点时间",
        "put#/project/proof":"项目节点校样审核",
        "post#/project/proof":"增加一次校样",
        "post#/project/modifydate":"修改一个节点的时间",
        "put#/project/member":"修改项目成员",
        "post#/project/audit":"项目节点审核",
        "get#/project/:id":"获取单个项目信息",
        "put#/file":"修改文件信息",
        "post#/contract/payment":"新增合同付款",
        "put#/contract/invoice":"修改开票",
        "post#/contract/invoice":"新增开票",
        "delete#/contract/:id":"删除合同",
        "put#/contract":"修改合同",
        "post#/contract":"新增合同",
        "get#/contract":"获取合同列表",
        "post#/component/import":"导入零件",
        "post#/component/designchange":"零件设计变更",
        "get#/api/helpEx":"接口帮助",
        "get#/calendar":"日历查询",
        "get#/message":"获取本人的消息列表",
        "put#/message":"设置消息已读未读",
        "get#/statistics/component":"零件状态统计",
        "get#/statistics/project":"项目状态统计",
        "get#/statistics/tooling":"工装状态统计",
       "post#/file/qiniucb":"七牛云回调接口",
       "post#/file/qiniuuptoken":"获取七牛云uploadToken"
    }
};